<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>测试</title>
</head>
<body>
<h1>测试页</h1>
<a href="javascript:;" onclick="test()">请求内容2</a>
<div style="margin:auto; width:960px;" id="show_box">
	<p>内容1</p>
</div>

<script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>

<script type="text/javascript">
	function test() {
		$.get("/Shopping/test.htm",{"param":"1"},function(data){
			$("#show_box").html(data);
		},"html");
	}
</script>
</body>
</html>